BigCommerce\Editor\Gutenberg\Migrate_Blocks S

Total Complexity 20
Dependencies 23
Dependents 1
Total lines 187
Lines of code 97
Logical lines of code 50
Comment lines 65
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
check_if_gutenberg_editor()
S
58 6 16
ensure_blocks()
S
50 3 27
filter_post_rest_response()
S
66 3 8
product_shortcode_to_block()
S
55 1 19
check_if_classic_editor()
S
70 2 7
set_classic_editor_hooks()
S
66 2 9
replace_blocks_with_shortcodes()
S
66 2 8
set_gutenberg_editor_hooks()
S
77 1 3